package simulation;

public class Observation {
	private double responseTime;
	private double queueLen;
	private double time;
	private double iU;
	private int id;
	private int classT;
	
	public Observation(double time, int id, int classT, double responseTime, double queueLen, double iU) {
		this.responseTime = responseTime;
		this.queueLen = queueLen;
		this.time = time;
		this.id = id;
		this.classT = classT;
		this.iU = iU;
	}

	public int getId() {
		return id;
	}

	public int getClassT() {
		return classT;
	}

	public double getResponseTime() {
		return responseTime;
	}

	public synchronized double getTime() {
		return time;
	}

	public double getQueueLen() {
		return queueLen;
	}
	
	public double getIU() {
		return iU;
	}

	
	public String toString(){
		return "Observation(t: " +time + ", i: " + id + ", c: " + classT +", r: " + responseTime + ", q: " + queueLen + ", i: " + iU + ")";
	}

}
